package com.diy.sigmund.diygateway.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author ylm-sigmund
 * @since 2021/9/23 20:28
 */
@Component
public class CustomLimitConfig {
    @Value("${custom.limitRate:10}")
    private int limitRate;

    public int getLimitRate() {
        return limitRate;
    }

}
